//#include "mainwindow.h"

#include <QApplication>
#include <QTextCodec>

#include "logindlg.h"

int main(int argc, char *argv[])
{

#ifdef Q_OS_WIN
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("gbk"));
#else
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8"));
#endif

    QApplication a(argc, argv);
    loginDlg dlg;
    dlg.show();
    //MainWindow w;
    //w.show();
    return a.exec();
}
